(auto-mode-alist): Match change log file name also with
authorAndreas Schwab <schwab@suse.de>
Thu, 12 Oct 2006 12:11:33 +0000 (12:11 +0000)
committerAndreas Schwab <schwab@suse.de>
Thu, 12 Oct 2006 12:11:33 +0000 (12:11 +0000)
a dash before a numeric extension.

lisp/files.el

index 1589e2c5998f74077b3f5f3cd7322be63c95bdac..556c5e680b7df00c90d55f9788cb3057c2538eb3 100644 (file)
@@ -1906,7 +1906,7 @@ in that case, this function acts as if `enable-local-variables' were t."
      ("\\.[sS]\\'" . asm-mode)
      ("\\.asm\\'" . asm-mode)
      ("[cC]hange\\.?[lL]og?\\'" . change-log-mode)
-     ("[cC]hange[lL]og\\.[0-9]+\\'" . change-log-mode)
+     ("[cC]hange[lL]og[-.][0-9]+\\'" . change-log-mode)
      ("\\$CHANGE_LOG\\$\\.TXT" . change-log-mode)
      ("\\.scm\\.[0-9]*\\'" . scheme-mode)
      ("\\.[ck]?sh\\'\\|\\.shar\\'\\|/\\.z?profile\\'" . sh-mode)